]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Avoid reentrancy on the ::size-changed handler
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 25 Jan 2017 16:47:18 +0000 (17:47 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 26 Jan 2017 16:51:39 +0000 (17:51 +0100)
commita82c564a73cb3e77a07d44fe8bbfe5837aef2c5d
tree0ec6824f3e114fd208f42bc420f4b2f4fd848e00
parent6a40e723291f4f393548d9e82af2b2351d125670
windowManager: Avoid reentrancy on the ::size-changed handler

We have no guarantees on the number of ::size-changed signals that we may
receive, so the _sizeChangedWindow handler may run multiple times, which
leads to multiple calls to meta_plugin_size_change_completed(). So double
check the actor is not already being animated in the _sizeChangedWindow
handler to avoid reentrancy.

https://bugzilla.gnome.org/show_bug.cgi?id=777784
js/ui/windowManager.js